package org.poseidon.report.converter;

import org.poseidon.common.utils.bean.BeanUtils;
import org.poseidon.report.domain.BuProduct;
import org.poseidon.report.input.BuProductInput;

/**

 * @Date: 2022/2/23 17:26
 * @Description:
 */
public class ProductConverter {
    public static BuProduct convertToDomain(BuProductInput input) {
        BuProduct buProduct = new BuProduct();
        BeanUtils.copyProperties(input,buProduct);
        return buProduct;
    }
}
